Timeliness via Speculation for Real-Time Databases
نویسندگان
چکیده
Various concurrency control algorithms di er in the time when con icts are detected, and in the way they are resolved. In that respect, the Pessimistic and Optimistic Concurrency Control (PCC and OCC) alternatives represent two extremes. PCC locking protocols detect con icts as soon as they occur and resolve them using blocking. OCC protocols detect con icts at transaction commit time and resolve them using rollbacks (restarts). For real-time databases, blockages and rollbacks are hazards that increase the likelihood of transactions missing their deadlines. We propose a Speculative Concurrency Control (SCC) technique that minimizes the impact of blockages and rollbacks. SCC relies on the use of added system resources to speculate on potential serialization orders and to ensure that if such serialization orders materialize, the hazards of blockages and roll-backs are minimized. We present a number of SCC-based algorithms that di er in the level of speculation they introduce, and the amount of system resources (mainly memory) they require. We show the performance gains (in terms of number of satis ed timing constraints) to be expected when a representative SCC algorithm (SCC-2S) is adopted.
منابع مشابه
In Proceedings of VLDB ’ 95 : The International Conference on Very Large Databases , Zurich , Switzerland , September 1995 . Value � cognizant Speculative Concurrency Control
We describe SCC kS a Speculative Concurrency Control SCC algorithm that allows a DBMS to use e ciently the extra computing resources avail able in the system to increase the likelihood of timely commitment of transactions Using SCC kS up to k shadow transactions execute speculatively on behalf of a given uncommitted transaction so as to protect against the hazards of blockages and restarts SCC ...
متن کاملIn Proceedings of VLDB ’ 95 : The International Conference on Very Large Databases
We describe SCC-kS, a Speculative Concurrency Control (SCC) algorithm that allows a DBMS to use eeciently the extra computing resources available in the system to increase the likelihood of timely commitment of transactions. Using SCC-kS, up to k shadow transactions execute speculatively on behalf of a given uncommitted transaction so as to protect against the hazards of blockages and restarts....
متن کاملReal-Time and Active Databases: A Survey
Active real-time databases have emerged as a research area in which concepts of active databases and real-time databases are combined into a real-time database with reactive behavior. However, this marriage is not free from complications. The main problem is that timeliness, i.e., predictability and eeciency, is of paramount importance in real-time databases, while reactive behavior may add to ...
متن کاملAn Essay on Real-Time Databases
Data management in real-time systems has traditionally been implemented via applicationdependent designs. The main drawback of this approach is that, as the applications grow in complexity and amount of data, the code which deals with data management becomes increasingly difficult to develop and maintain. Real-time database systems are the most promising alternative to manage the data with a st...
متن کاملMaintaining security and timeliness in real-time database system
Real-time database systems can have security constraints in addition to timing constraints. Such real-time systems are typically contained in environments that exhibit hierarchical propagation of information, where mandatory access control for security is required. Conventional multi-level secure database models that implement mandatory access control are inadequate for time-critical applicatio...
متن کامل